package com.lizi.idgenerator.dto.idcreator;

import com.sun.istack.internal.NotNull;

/**
 * Id生成器添加模型
 * @author kingman
 * @since 2020-12-15 14:26
 */
public class IdCreatorAddModel {

    /**
     * 业务Id(应用.业务.表名),全平台唯一
     */
    @NotNull
    private String businessId;

    /**
     * 描述
     */
    @NotNull
    private String description;

    /**
     * 步长
     */
    @NotNull
    private Integer stepValue = 1000;

    /**
     * 当前值
     */
    @NotNull
    private Long currentValue = 0L;

    public String getBusinessId() {
        return businessId;
    }

    public void setBusinessId(String businessId) {
        this.businessId = businessId;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public Integer getStepValue() {
        return stepValue;
    }

    public void setStepValue(int stepValue) {
        this.stepValue = stepValue;
    }

    public Long getCurrentValue() {
        return currentValue;
    }

    public void setCurrentValue(Long currentValue) {
        this.currentValue = currentValue;
    }
}
